package br.com.hbt.caelum;

import java.util.regex.*;

/**
 * http://www.caelum.com.br/apostila-java-orientacao-objetos/interfaces/#10-2-interfaces
 * @author Herbert
 *
 */
public abstract class Funcionario {
	protected String nome;
	protected String cpf;
	protected double salario;

	abstract double getBonificacao();
	
	public static void main(String... s){
		Pattern pt = Pattern.compile("Teste Certo ");
		Matcher mt = pt.matcher("Certo ");
		mt.find();
		System.out.println(mt.group());
		
		Boolean b;
		Runtime.getRuntime().gc();
		b = new FuncionarioInterface[4] instanceof Object[];
		
	}

}
